Adaptive bracketing techniques

ABSTRACT

Adaptive bracketing techniques for photography are described. An adaptive bracketing logic/module directs an imaging device to capture an adaptive bracket. The adaptive bracket can include a first image captured at a first exposure value, a second image captured at a second exposure value, and a third image captured at the first exposure value. The first exposure value can be underexposed in comparison to the second exposure value. The adaptive bracketing logic/module can determine that a difference between the first and second images; determine that the third image is more similar to the second image than the first image; and generate a composite image using the first image and the third image. The adaptive bracketing logic/module can also update the adaptive bracket to include the composite image. Optionally, the updated adaptive bracket can be used to generate one or more high dynamic range (HDR) images. Other embodiments are described.

FIELD

Embodiments described herein relate to digital image processing. Moreparticularly, the embodiments described herein relate to adaptivebracketing techniques for photography.

BACKGROUND INFORMATION

In photography, a bracketing technique refers to a process of capturinga sequence of images that can be used to generate a high dynamic range(“HDR”) image. Such a sequence of images can be referred to as abracketed sequence of images or a bracket. In at least one conventionalbracketing technique, a bracket is fixed. That is, a predeterminednumber of images form the bracket, with each image being captured at adifferent exposure value or EV. An example of a conventional fixedbracket is represented as follows:[n(EV−),EV0,n(EV+)],

-   -   where EV0 refers to an image that is captured using an ideal        exposure value (EV) given the lighting conditions at hand,    -   where n refers to a number of stops above or below the EV0        image,    -   where n(EV−) refers to an underexposed image that is captured at        n lower stops than the EV0 image, and    -   where n(EV+) refers to an overexposed image that is captured at        n higher stops than the EV0 image.

In the conventional fixed bracket shown above, “EV” stands for exposurevalue and refers to a given exposure level for an image (which may becontrolled by one or more settings of a device, such as an imagingdevice's shutter speed and/or aperture setting). Different images may becaptured at different EVs, with a one EV difference (also known as a“stop”) between images equating to a predefined power difference inexposure. Typically, a stop is used to denote a power of two differencebetween exposures. Thus, changing the exposure value can change anamount of light received for a given image, depending on whether the EVis increased or decreased. For example, one stop doubles or halves theamount of light received for a given image, depending on whether the EVis increased or decreased, respectively.

The “EV0” image in a conventional fixed bracket refers to an image thatis captured using an exposure value as determined by an imaging device'sexposure algorithm. Generally, the EV0 image is assumed to have theideal exposure value (EV) given the lighting conditions at hand. The“EV−” image of a fixed bracket refers to an underexposed image that iscaptured at a lower stop (e.g., 0.5, 1, 2, or 3 stops) than the EV0image. For example, a “1EV−” image refers to an underexposed image thatis captured at one stop below the exposure value of the EV0 image. The“7 EV+” image refers to an overexposed image that is captured at ahigher stop (e.g., 0.5, 1, 2, or 3) than the EV0 image. For example, a“2EV+” image refers to an overexposed image that is captured at twostops above the exposure value of the EV0 image.

During HDR image creation, one limitation of fixed brackets is thepresence of ghosting artifacts that can appear when objects move,appear, or disappear during the capturing of individual images thebracket. For example, during the shooting of three images that aresubsequently used for generating an HDR image, if a person is capturedin the first image (but not the second and third images), then the HDRimage created from the three images can include a semi-transparentfigure of the person over the scene. This unwanted ghosting artifact isalso known as a ghost.

SUMMARY

Embodiments of methods, apparatuses, and systems for adaptive bracketingtechniques are described. Such embodiments can assist with reducingunwanted ghosting artifacts in a high dynamic range (“HDR”) imagegenerated from an adaptively bracketed sequence of images (also referredto herein as an adaptive bracket). For one embodiment, the adaptivebracket is a bracketed sequence of images that includes at least one of:(i) two or more images that were captured at different times using thesame exposure value; or (ii) a composite image that is generated usingthe two or more images.

For one embodiment, an adaptive bracketing logic/module directs animaging device (e.g., imaging sensor(s) and/or corresponding cameracircuitry, etc.) to capture an adaptive bracket. The adaptive bracketcan include a first image captured at a first exposure value and asecond image captured at a second exposure value that is different fromthe first exposure value. For one embodiment, the first exposure valueis underexposed in comparison to the second exposure value.

The adaptive bracketing logic/module can compare the first image to thesecond image to determine a difference between the first and secondimages. This difference can be caused by at least one of the following:(i) motion—that is, one or more moving, appearing, or disappearingobjects that occur after the first image is captured but before thesecond image is captured (and vice versa); or (ii) noise—that is, randomvariations in corresponding image data that occurs after the first imageis captured but before the second image is captured (and vice versa).For one embodiment, the adaptive bracketing logic/module determines adifference between the first and second images using a pixel-by-pixelcomparison of one or more pixels in the second image with correspondingpixels in the first image. For another embodiment, the adaptivebracketing logic/module determines a difference between the first andsecond images using one or more image registration algorithms thatfacilitate comparisons between the first and second images.

For one embodiment, the adaptive bracketing logic/module captures athird image that is included in the adaptive bracket. For oneembodiment, the third image is captured using the same exposure value asthe first image (i.e., the first exposure value). For one embodiment,the adaptive bracketing logic/module directs the imaging device tocapture the third image as part of the adaptive bracket after theimaging device has captured the first and second images of the adaptivebracket. For a further embodiment, the adaptive bracketing logic/moduledirects the imaging device to capture the third image in response to theadaptive bracketing logic/module determining a difference between thefirst and second images. For an alternate embodiment, the imaging devicecaptures the third image prior to the adaptive bracketing logic/moduledetermining a difference between the first and second images.

For one embodiment, the adaptive bracketing logic/module compares thefirst and third images to determine whether the third image is betterthan the first image—that is, whether the third image is more similar tothe second image than the first image. For one embodiment, the adaptivebracketing logic/module determines whether the third image is betterthan the first image in response to the adaptive bracketing logic/moduledetermining a difference between the first and second images.

For one embodiment, the adaptive bracketing logic/module generates acomposite image using the first image and the third image. The adaptivebracketing logic/module can generate the composite image in response tothe adaptive bracketing logic/module determining that the third image isbetter than the first image. For one embodiment, the adaptive bracketinglogic/module generates a composite image by combining the first imageand the third image. Combining the first image and the third image caninclude at least one of: (i) blending one or more portions of the firstimage with corresponding portion(s) of the third image; or (ii)replacing one or more portions of the first image with correspondingportion(s) of the third image.

The adaptive bracketing logic/module can also update the adaptivebracket by replacing the first and third images with the compositeimage. Optionally, the updated adaptive bracket can be used to generateone or more HDR images.

Other features or advantages of the embodiments described herein will beapparent from the accompanying drawings and from the detaileddescription that follows below.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments described herein are illustrated by way of example and notlimitation in the figures of the accompanying drawings, in which likereferences indicate similar features. Furthermore, in the figures someconventional details have been omitted so as not to obscure theinventive concepts described herein.

FIG. 1 is a block diagram of a processing system, which includeselectronic components that can perform an adaptive bracketing techniqueaccording to one embodiment.

FIG. 2 is a flowchart representing one embodiment of a process ofperforming an adaptive bracketing technique.

FIG. 3 is a flowchart representing another embodiment of a process ofperforming an adaptive bracketing technique.

FIG. 4 is a flowchart representing one embodiment of a process ofdetermining that there is a difference between corresponding portions ofa first image and a second image during performance of an adaptivebracketing technique.

FIG. 5 is a flowchart representing another embodiment of a process ofdetermining that there is a difference between corresponding portions ofa first image and a second image during performance of an adaptivebracketing technique.

FIG. 6 illustrates an exemplary processing system that can assist withperforming an adaptive bracketing technique according to one or more ofthe embodiments described herein.

DETAILED DESCRIPTION

Embodiments of methods, apparatuses, and systems for adaptive bracketingtechniques are described. One or more of these embodiments can assistwith reducing unwanted ghosting artifacts in a high dynamic range(“HDR”) image generated from an adaptively bracketed sequence of images(also referred to herein as an adaptive bracket).

Embodiments of the adaptive bracketing techniques set forth herein canassist with improving the functionality of computing devices or systemsthat generate HDR images. More specifically, computer functionality canbe improved by enabling computing devices or systems that use anadaptive bracket for generating HDR images to reduce or eliminate theneed to use de-ghosting algorithms on the generated HDR images. In thisway, an adaptive bracket can assist with reducing or eliminating wastedcomputational resources (e.g., memory, processing power, computationaltime, etc.). For example, at least one embodiment of an adaptive bracketdescribed herein includes a composite image formed from two or moreimages of the adaptive bracket that were captured at different timesusing the same settings. For this example, the composite image canassist with reducing the likelihood that the adaptive bracket includesmotion (e.g., moving, appearing, or disappearing objects, etc.) and/ornoise. This reduced likelihood can, in turn, reduce the likelihood thatghosts are present in an HDR image generated from the adaptive bracket.Also, the reduced occurrence of ghosts can reduce or eliminate the needto devote computational resources to de-ghosting techniques. Reducing oreliminating computational resources devoted to de-ghosting techniquescan, for example, improve the processing capabilities of the device orsystem.

FIG. 1 is a block diagram of a processing system 100 that can perform anadaptive bracketing technique according to one embodiment. The system100 can be housed in a single computing device, such as a desktopcomputer, a laptop computer, a tablet computer, a server, a mobilephone, a media player, a personal digital assistant (PDA), a personalcommunicator, a gaming device, a network router or hub, a wirelessaccess point (AP) or repeater, a set-top box, or a combination thereof.Alternatively, the components of system 100 can be temporally separatedand implemented on separate computing systems that are connected by thecommunication mechanism 110, which is described in further detail below.

For one embodiment, the system 100 may include processing unit(s) 130,which includes at least one of an adaptive bracketing logic/module 140or an HDR image generation logic/module 150. The system 100 can alsoinclude a communication mechanism 110, memory 160 that includes at leastone of image data 170 or metadata 180, an imaging device 120,peripheral(s) 190, and/or sensor(s) 191. Each of the logic/module 150,the metadata 180, the peripheral(s) 190, and the sensor(s) 191 isillustrated with a dashed box to show that it is an optional componentof the system 100. Nevertheless, one or more of the logic/module 150,the metadata 180, the peripheral(s) 190, and the sensor(s) 191 is notalways an optional component of the system 100—some embodiments of thesystem 100 may require at least one of the logic/module 150, themetadata 180, the peripheral(s) 190, or the sensor(s) 191 (e.g., acamera, a smartphone with a camera, etc.). Each component in the system100 is described below.

As shown in FIG. 1, the system 100 can include all the necessarycircuitry and memory for performing the techniques described herein. Forone embodiment, the system 100 includes processing unit(s) 130, such ascentral processing units (CPUs), graphics processing units (GPUs), andother types of integrated circuits (ICs). For one embodiment, theprocessing unit(s) 130 enable the system 100 to manipulate computergraphics and/or perform image processing. For one embodiment, theprocessing unit(s) 130 includes an adaptive bracketing logic/module 140.The adaptive bracketing logic/module 140 can be implemented as at leastone of hardware (e.g., electronic circuitry of the processing unit(s)130, circuitry, dedicated logic, etc.), software (e.g., one or moreinstructions of a computer program executed by the processing unit(s)130, software run on a general-purpose computer system or a dedicatedmachine, etc.), or a combination thereof. For one embodiment, theadaptive bracketing logic/module 140 performs at least one embodiment ofan adaptive bracketing technique, as described herein.

For one embodiment, the adaptive bracketing logic/module 140 enables thesystem 100 to capture an adaptive bracket, which is a bracketed sequenceof images that includes two or more images that were captured atdifferent times using the same exposure value. Specifically, theadaptive bracketing logic/module 140 can direct the imaging device 120to capture the adaptive bracket. For one embodiment, the imaging device120 captures an adaptive bracket comprised of at least two images. For afirst example, and for one embodiment, the imaging device 120 capturesan adaptive bracket that is represented as follows:[n ₁(First EV−),EV0,n ₂(EV+),n ₁(Second EV−)],

-   -   where EV0 refers to an image that is captured using an ideal        exposure value (EV) given the lighting conditions at hand,    -   where n₁ and n₂ refer to numbers of stops below or above the EV0        image, respectively,    -   where n₁(First EV−) refers to an underexposed image that is        captured at n₁ lower stops than the EV0 image during a first        time interval,    -   where n₁(Second EV−) refers to an underexposed image that is        captured at n₁ lower stops than the EV0 image during a second        time interval that occurs after the first time interval, and    -   where n₂(EV+) refers to an overexposed image that is captured at        n₂ higher stops than the EV0 image.

While the first example above shows an order where the First EV− imageis taken before both the EV0 and EV+ images and the Second EV− image istaken after both the EV0 and EV+ images, it should be appreciated thatthe images may be captured in other orders as appropriate. It shouldfurther be appreciated that when “first”, “second” etc. are used todistinguish different images, that these designations do not require asequential capture order. As a second example, and for one embodiment,the imaging device 120 captures an adaptive bracket where the First EV−image is captured before the EV0 image and the Second EV− image iscaptured after the EV0 image and before the EV+ image, represented asfollows:[n ₁(First EV−),EV0,n ₁(Second EV−),n ₂(EV+)].

As a third example, in some instances the imaging device 120 captures anadaptive bracket where both the First and Second EV− images are capturedbefore the EV0 and EV+ images, represented as follows:[n ₁(First EV−),n ₁(Second EV−),EV0,n ₂(EV+)].

While many examples of adaptive brackets described here (including thosedescribed immediately above) as having two EV− images having the sameexposure value, it should be appreciated that capturing the adaptivebracket may include capturing additional EV− images as appropriate.Embodiments of an adaptive bracket described throughout this documentcan include two or more EV− images. For one example, an adaptive bracketincludes only two EV− images that are captured at different times. Inother instances, capturing the adaptive bracket includes capturing threeor more EV− images. In some instances, one or more additional EV− imagesmay have the same exposure value as the first and second EV− images(e.g., an n₁(First EV−) image, an n₁(Second EV−) image, and an n₁(ThirdEV−) image may be captured). Additionally or alternatively, one or moreadditional EV− images may have a different exposure value the first andsecond EV− images (e.g., an n₁(First EV−) image, an n₁(Second EV−)image, and an n₃(Third EV−) image may be captured, where the number ofstops n₁ is different from the number of stops n₃). It should beappreciated that in some instances, the n₁ and n₂ number of stops may bethe same (such that EV+ image is captured the same number of stops abovethe EV0 as the number of stops the EV− images are captured below the EV0image) or may be different (such that the EV+ image is captured adifferent number of stops above the EV0 image than the number of stopsthe EV− images are captured below the EV0 image).

Similarly, while a single EV+ image is shown in the adaptive bracketsabove, it should be appreciated that multiple EV+ images may be capturedduring the capture of the adaptive bracket. In some instances, multipleEV+ images may have the same exposure value. Additionally oralternatively, one or more EV+ images may be at a different stop thanone or more other EV+ images captured in the adaptive bracket. It shouldbe appreciated that the number of images captured in an adaptive bracketmay be fixed, or may be dynamic depending on analysis of one or moreimages of the adaptive bracket, as will be discussed in more detailbelow.

In some instances, a composite image may be formed from two or moreimages of the captured sequence of images. The composite image may beadded to the bracket (e.g., may be saved with the other images from theadaptive bracket and/or may be used with other images from the bracketto form a HDR image), and optionally may replace one or more of theoriginal images that were used to form the composite image. While manyexamples below discuss using captured EV− images to form a composite EV−image, it should be appreciated that other images (EV0 images and/or EV+images may also be used to form composite images within the bracket.Accordingly, in some instances, the number of images saved as a bracketand/or used to form a HDR image may be less than the number of imagesinitially captured as part of the adaptive bracket.

Returning to the examples described above, the first EV− image is anunderexposed image that is captured at a predetermined number of lowerstops than the EV0 image during a first time interval. The second EV−image is an underexposed image that is captured at the samepredetermined number of lower stops as the first EV− image, but during asecond time interval that occurs after the first time interval. Asshown, the adaptive bracket differs from conventional fixed bracketsbecause of the multiple EV− images having the same exposure value. Themultiple EV− images of the adaptive bracket can assist with overcomingone or more limitations of a conventional fixed bracket. For example,and not by way of limitation, the adaptive bracket can assist withincreasing the likelihood that the EV− and EV0 images used to generate aHDR image will not result in ghosting artifacts in the HDR image due tomotion or other differences between the EV− and EV0 images.

Conventional de-ghosting techniques generally use information from theEV0 image to correct for ghosting artifacts found in an HDR imagegenerated from a fixed bracket. Nevertheless, such conventionalde-ghosting techniques cannot be used in situations where there arecertain differences in image information between the EV− and EV0 images.These differences can be caused by at least one of the following: (i)motion—that is, one or more moving, appearing, or disappearing objectsthat occur after a first one of the EV− image and the EV0 image iscaptured but before the second one of the EV− image and the EV0 image iscaptured (and vice versa); or (ii) noise—that is, random variations incorresponding image data that occurs after the first one of the EV−image and the EV0 image is captured but before the second one of the EV−image and the EV0 image is captured (and vice versa). One or moreembodiments of the adaptive bracket described herein can reduce theimpact of these differences, which can assist with improving computerfunctionality by reducing or eliminating a need for additionalde-ghosting algorithms for a system (e.g., the system 100) thatgenerates HDR images using an adaptive bracket.

In some instances, the differences between images may be determined byevaluating the pixel values for one or more pixels of the images. Eachpixel in an image may include a pixel value that represents that pixel'sbrightness and/or color. Depending on the nature of the image, the pixelvalue may include one or more individual values. For example, in agrayscale image, the pixel value may be a single number within a rangerepresenting the brightness of the pixel, where the minimum number inthe range often represents black and the maximum number in the rangeoften represents white. Grayscale imaging often uses an 8-bit integerrange, with 0 as the minimum and 255 as the maximum. Conversely, incolor imaging, the pixel value may include individual values reflectingdifferent channels components of the color space used by the color modelin a given image (e.g., a red-green-blue (RGB) color model, YUV, YCbCr,YPbPr, etc.). For example, an RGB image may include red, blue and greenchannels, and the pixel value for a given pixel may include a value foreach channel.

Typically, the pixel value for each pixel may be set within a predefinedrange for each channel. Accordingly, each channel may have a respectivemaximum value. These maximum values reflect a maximum channel intensitythat will be registered by the imaging device, and are often set basedon the specific image sensor and/or the desired use of the imagingdevice. As an example, in a grayscale image where pixel brightness isreflected using a pixel value between 0 and 255, the maximum pixel value(255) may represent a threshold scene brightness. Even if the actualscene illumination on a pixel during image capture is brighter than thethreshold scene brightness, the pixel value for that pixel will notexceed 255. In these instances, information in the image may be lost asit may not be possible to determine whether a pixel value of 255 wascaused by scene illumination at the threshold scene brightness or abrighter level.

As used herein, a “clipped pixel,” a “saturated pixel,” and theirvariants refer to a pixel whose pixel value is equal to or greater thana threshold intensity value for a channel of the pixel. In someinstances, the threshold intensity value may be the maximum intensityvalue for a given channel. When a pixel value includes multiplechannels, it should be appreciated that each channel may have its ownrespective threshold intensity value. As an example, in some variationsthe pixel value may be represented by a plurality of channels, eachhaving a respective value between a minimum of 0 and a maximum 255. Insome instances, each channel may have a threshold intensity value of 255(the maximum). In these instances, if the value of at least one of thesechannels is 255, the pixel may be considered a clipped pixel. In otherinstances, the threshold intensity value may be set below the maximum(e.g., to 247). In these instances, if the value of one of the channelsmeets or exceeds 247, the pixel may be considered a clipped pixel. Itshould be appreciated that the threshold intensity value or values maybe changed depending on the intended use of the imaging device (e.g.,different photography modes).

In one scenario, motion and/or noise that causes differences incorresponding portions of the EV− image and the EV0 image can bedetected by looking for artifacts between the images. At least one ofthese artifacts may, in some instances, be identified by looking at thepixel values for one or more pixels of one or more of the images. Onesuch artifact is an “occlusion” (also referred here as an “occludedportion”), where scene brightness changes between images for a portionof a scene by a threshold amount. For one example, if a person or otherobject in a scene moves between two images (e.g., an EV− image and anEV0 image) such that the EV− image is captured when the person or object(e.g., the person's head, etc.) is blocking out a bright light in agiven region and the EV0 image is subsequently captured after the personor object (e.g., the person's head, etc.) is no longer blocking thebright light in that region, then there may be an increased differencein the brightness in that region between the EV− and EV0 images beyondwhat would normally be accounted for by the difference in exposurevalues between the images. This occlusion may result in one or moreghosting artifacts if the EV− and EV0 images are used to form a HDRimage. Occlusions may result from motion, illumination changes, noise,or the like.

For one embodiment, the adaptive bracketing logic/module 140 comparesone or more portions of the first EV− image to the EV0 image todetermine a threshold difference (as described above) betweencorresponding portions in the first EV− image and the EV0 image. As willbe described in more detail below, the identification of a thresholddifference between the EV− and EV0 image may be used in determiningwhether to form a composite image or otherwise capture additionalimages. Several embodiments can be used to make this determination,which are described below.

For one embodiment, the adaptive bracketing logic/module 140 determinesa threshold difference between corresponding portions in the first EV−image and the EV0 image by looking at the difference between the pixelvalue or values between one or more pixels of the first EV− image andthe corresponding pixel or pixels from the EV0 image. In some instances,the adaptive bracketing logic/module 140 may count the number of pixelsin a given region for which the difference between the pixel values forthe EV− and EV0 images is equal to or greater than a threshold amount(also referred herein a “pixel difference threshold”). In instanceswhere a pixel value has multiple channels, each channel may have arespective pixel difference threshold. It should be appreciated thatimage registration between the two images may be performed to correctfor image shifts (e.g., due to camera motion) between the images, whichmay impact the association of pixel correspondence between the twoimages.

If the count meets a count threshold, the adaptive bracketinglogic/module 140 may determine a threshold difference between the firstEV− image and the EV0 image. The count threshold may be based on theentire image or may be based on individual regions of the image. Forexample, the system may determine whether the count across the entireimage meets a first count threshold. Additionally or alternatively, thesystem may determine whether the count across a given sub-region meets asecond count threshold. In these instances, the system may look at aplurality of sub-regions within the image. Different sub-regions of theplurality of sub-regions may or may not overlap, may be the same ordifferent size, and/or may have the same or different count thresholds.Additionally, when a count is made across an entire image (or regionthereof), it should also be appreciated that a count may similarly madeacross a downsampled version of the image (or region thereof)

In some instances, the pixel values may be compared for individualpixels in the two images, but it should also be appreciated that pixelsvalues for one or more pixel groups (referred to herein as a “pixelneighborhood” or “neighborhood of pixels” herein) may also be comparedin certain instances. For another embodiment, the adaptive bracketinglogic/module 140 determines a difference between corresponding portionsin the first EV− image and the EV0 image by determining that adifference between an overall pixel value for a pixel neighborhood inthe first EV− image and an overall pixel value for a corresponding pixelneighborhood in the EV0 image is equal to or greater than a pixeldifference threshold. The adaptive bracketing logic/module 140 mayevaluate the count of pixel neighborhoods exceeding this pixeldifference threshold between the two images. As with the aboveembodiments, a threshold may be determined if the count exceeds one ormore count thresholds

In these variations, a pixel neighborhood refers to a group of pixelshaving a predefined relationship with a given pixel. For a specificembodiment, a pixel neighborhood and its variations refer to apredetermined group of pixels centered around a reference pixel in agrid of pixels. For example, in a rectangular grid of pixels, a pixelthat is not on the edge of the image may be adjacent to eightneighboring pixels, and as a result, a pixel neighborhood associatedwith that specific pixel can encompass that pixel and its eightneighboring pixels (i.e., nine pixels). A pixel neighborhood can alsoinclude a larger or smaller group of pixels having a specificrelationship with a given pixel. Thus, a pixel neighborhood canencompass at least 2 pixels. For example, a pixel neighborhood canencompass 2 pixels, 3 pixels, 4 pixels, 5 pixels, 6 pixels, 16 pixels,64 pixels, 256 pixels, 1024 pixels, etc. For one embodiment, the pixelneighborhood has an pixel value, which can be determined aspredetermined combination of the pixel values for the pixels in thepixel neighborhood. Combinations include, but are not limited to, a sumof the individual pixels' values, an average of the individual pixels'values, a median of the individual pixels' values, and a vector of theindividual pixels' values.

For yet another embodiment, the adaptive bracketing logic/module 140determines a threshold difference between corresponding portions in thefirst EV− image and the EV0 image by: (i) aligning the objects in theEV0 image and the first EV− image using a local image registrationtechnique; and (ii) detecting where local registration fails because ofclipped or saturated pixels in the EV0 image. In these instances, athreshold difference may be determined when the number and/or size oflocal registration failures exceeds a given level.

For another embodiment, the adaptive bracketing logic/module 140determines a threshold difference between corresponding portions in thefirst EV− image and the EV0 image by: (i) capturing multiple EV0 images(or multiple first EV− images); and (ii) comparing the multiple EV0images (or multiple first EV− images) to each other to determine whethera predetermined criteria (e.g., which may be indicative of moving,appearing, or disappearing objects in the scene) is met. This analysisgenerally includes a pixel-to-pixel comparison of corresponding pixelsin the multiple EV0 images (or multiple first EV− images). For thisembodiment, the adaptive bracketing logic/module 140 determines thatcorresponding portions of the first EV− image and the EV0 image aredifferent in response to the adaptive bracketing logic/module 140determining that the multiple EV0 images (or multiple first EV− images)include motion and/or noise. Consequently, the adaptive bracketinglogic/module 140 determines that corresponding portions of the first EV−image and the EV0 image are not different in response to the adaptivebracketing logic/module 140 determining that the multiple EV0 images (ormultiple first EV− images) do not include motion and/or noise.

For one embodiment, the adaptive bracketing logic/module 140 determinesa threshold difference between corresponding portions in the first EV−image and the EV0 image using a comparison of clipped pixels of the EV0image with corresponding pixels of the first EV− image. For oneembodiment, the adaptive bracketing logic/module 140 begins determininga difference between corresponding portions in the first EV− image andthe EV0 image in response to the logic/module 140 determining that theEV0 image has a threshold number of clipped pixels. In certainembodiments, the logic/module 140 determining that the EV0 image has athreshold number of clipped pixels includes determining that a firstthreshold number of clipped pixels exist across the entire EV0 imageand/or a second threshold of clipped pixels exist in a contiguous regionof the EV0 image. For one embodiment, when the adaptive bracketinglogic/module 140 determines that the EV0 image has a threshold number ofclipped pixels, then the adaptive bracketing logic/module 140 comparesthe first EV− image with the EV0 image on a pixel-by-pixel basis. Forone embodiment, the adaptive bracketing logic/module 140 comparesclipped pixels of the EV0 image with corresponding pixels of the firstEV− image to determine whether a difference between pixel values ofcorresponding pixels of the first EV− image and the clipped EV0 imagepixels exceeds or is equal to a threshold difference. When thedifference between pixel values of at least one set of correspondingpixels of the first EV− image and the EV0 image exceeds or is equal tothe threshold difference, the adaptive bracketing logic/module 140determines that a difference exists between corresponding portions inthe first EV− image and the EV0 image. For one embodiment, when a regionin the EV0 image includes a threshold number of clipped pixels, then acorresponding region in the first EV− image should be at a level closeto or above an exposure ratio between the EV0 image and the first EV−image. So, when the threshold difference between corresponding pixels inthe first EV− image and the EV0 image does not track the exposure ratiobetween the EV0 image and the first EV− image, the adaptive bracketinglogic/module 140 determines that the corresponding portions of the firstEV0 image and the EV0 image are different.

As mentioned above, the adaptive bracketing logic/module 140 obtains orreceives the different images that make up the adaptive bracket, thelogic/module 140 can align or register these images with each other tocompensate for any shifting between capturing images. For example, theadaptive bracketing logic/module 140 applies one or more imageregistrations to correct for global motion/camera shake betweencapturing the first EV− image and the EV0 image. In this way, thelogic/module 140 uses image registration techniques to account for bothglobal and local movement. Shifting during capturing of the adaptivebracket can occur due to at least one of the following: (i) movement ordisplacement of the imaging device 120; or (ii) movement or displacementof the objects being captured. For one embodiment, the adaptivebracketing logic/module 140 applies a local optical flow to align orregister the images of the adaptive bracket with each other tocompensate for any shifting between the images. Other imagealignment/registration techniques (e.g., intensity-based registrationalgorithms, feature-based registration algorithms, etc.) can be used toalign or register the images of the adaptive bracket with each other.For one example, the local optical flow can be used alone or combinedwith at least one other image alignment/registration technique.

In addition to using image registration to compensate for unwantedshifting during capture of an adaptive bracket, the adaptive bracketinglogic/module 140 can determine a threshold difference betweencorresponding portions in the first EV− image and the EV0 image usingone or more image registration techniques that facilitate comparisonsbetween the EV0 image and the first EV− image. For one embodiment, theadaptive bracketing logic/module 140 performs image registration on thefirst EV− image and the EV0 image to combine the image data from thedifferent images into one coordinate system. For one embodiment, theadaptive bracketing logic/module 140 designates the EV0 image as areference image for the image registration and the first EV− image as atarget image that is aligned with the reference image (i.e., the EV0image). An example of an image registration technique is local opticalflow. For one embodiment, the adaptive bracketing logic/module 140applies the image registration technique to the first EV− image and theEV0 image in order to minimize the pixel differences betweencorresponding portions of the two images (after accounting for exposuredifferences based on the exposure ratio between the first EV− image andthe EV0 image). Here, when there are no differences between the firstEV− image and the EV0 image, then application of the image registrationtechnique to minimize the differences between the first EV− image andthe EV0 image should result in the adaptive bracketing logic/module 140determining that corresponding portions of the EV0 image and the firstEV− image are the same. On the other hand, a failure of the appliedimage registration technique to minimize the differences between thefirst EV− image and the EV0 image will cause the adaptive bracketinglogic/module 140 to determine that one or more corresponding portions ofthe first EV− image and the EV0 image are sufficiently different fromeach other.

Image registration can be performed using a variety of algorithmsincluding, but not limited to, intensity-based algorithms, feature-basedalgorithms, linear transformation models, elastic or non-rigidtransformation models, transformation models based on the law offunction composition rather than addition, spatial domain algorithms forimage registration, frequency domain algorithms for image registration,single-modality algorithms for image registration, multi-modalityalgorithms for image registration, manually performed imageregistration, interactive methods of image registration, semi-automaticmethods of image registration, automatic methods of image registration,and image registration algorithms based on one or more image similaritymeasures that quantify a degree of similarity between intensity patternsin two images.

For a specific embodiment, the adaptive bracketing logic/module 140registers the first EV− image with the EV0 image using one or more imageregistration algorithms that establish a correlation or degree ofsimilarity between the first EV− image and the EV0 image. For example,the adaptive bracketing logic/module 140 determines a geometricaltransformation using a correspondence between a number of points in thefirst EV− image and a corresponding number of points in the EV0 image.In this way, the first EV− image is mapped to the EV0 image. Thedetermined geometrical transformation establishes a point-by-pointcorrespondence between the EV0 image (i.e, the reference image) and thefirst EV− image (i.e., the target image). Based on the point-to-pointcorrespondence, the adaptive bracketing logic/module 140 can determinethat a degree of similarity between the first EV− image and the EV0image. For one embodiment, the adaptive bracketing logic/module 140determines a difference between corresponding portions in the first EV−image and the EV0 image when the degree of similarity between the firstEV− image and the EV0 image is less than or equal to a threshold degreeof similarity. For example, a degree of similarity can be based onrequiring corresponding contiguous regions in the first and secondimages to include at least a predetermined number of pixels that aresubstantially aligned or registered with one another. For this example,when the corresponding contiguous regions in the first and second imagesinclude less than the predetermined number of pixels that should bealigned/registered with each other, the logic/module 140 determines thatthere is a difference between the corresponding portions in the firstEV− image and the EV0 image.

It should be appreciated that a plurality of the embodiments above maybe used to determine whether a threshold difference exists between twoimages. In some instances, a threshold difference may be determined toexist if any of a plurality of techniques identifies a thresholddifference. In other instances, a threshold difference may be determinedto exist only if a threshold difference is determined by multiple of theplurality of techniques.

In response to the logic/module 140 determining that there is athreshold difference between corresponding portions in the first EV−image and the EV0 image, the adaptive bracketing logic/module 140 candetermine whether one or more portions of the second EV− image is bettersuited than the first EV− image for generating a HDR image with the EV0image. That is, whether a portion of the second EV− image is moresimilar to the EV0 image than a corresponding portion of the first EV−image is similar to the EV0 image. The adaptive bracketing logic/module140 can determine that the second EV− image is better than the first EV−image by determining that one or more pixel values of the second EV−image are closer to corresponding pixel value(s) of the EV0 image thancorresponding pixel value(s) of the first EV− image are to thecorresponding pixels value(s) of the EV0 image.

In some instances, after (or as part of) determining that the second EV−image is more similar to the EV0 image, the system may use the secondEV− image to generate a HDR image. For example, although a thresholddifference may be identified between the first EV− image and the EV0image, the second EV− image may be compared to the EV0 image and nothreshold difference may be identified. For this example, the first EV−image can be discarded from the adaptive bracket, while the second EV−image is retained in the adaptive bracket. Consequently, the second EV−image may be used, in combination with at least one of the EV0 image orthe EV+ image of the adaptive bracket, to generate an HDR image. Foranother embodiment, the adaptive bracketing logic/module 140 generates acomposite EV− image using the first EV− image and the second EV− image.The adaptive bracketing logic/module 140 can generate the compositeimage in response to the adaptive bracketing logic/module 140determining that the second EV− image is better than the first EV−image, as described above. This may be beneficial in instances where incertain regions the first EV− image may be better suited than the secondEV− image for HDR image generation, while in other regions the secondEV− image may be better suited than the first EV− image for HDR imagegeneration.

For one embodiment, the adaptive bracketing logic/module 140 generates acomposite EV− image by combining portions of the first EV− image and thesecond EV− image. For example, a portion of the first EV− image iscombined with a corresponding portion of the second EV− image. For thisexample, the portion of the first EV− image and the correspondingportion of the second EV− image are selected based, at least in part, onthe corresponding portion of the second EV− image being more similar toa corresponding portion of the EV0 image than the portion of the firstEV− image. For one embodiment, the combination of the first EV− imageand the second EV− image by the adaptive bracketing logic/module 140includes at least one of: (i) the adaptive bracketing logic/module 140blending one or more portions of the first EV− image with correspondingportion(s) of the second EV− image; or (ii) the adaptive bracketinglogic/module 140 replacing one or more portions of the first EV− imagewith corresponding portion(s) of the second EV− image. For oneembodiment, the generation of the composite EV− image by the adaptivebracketing logic/module 140 includes the adaptive bracketinglogic/module 140 combining the occluded and/or noisy portion of thefirst EV− image with a corresponding portion of the second EV− image.

For one embodiment, the adaptive bracketing logic/module 140 generatesthe composite EV− image by blending one or more portions of the firstEV− image with corresponding portion(s) of the second EV− image. For oneembodiment, the generation of the composite EV− image by the adaptivebracketing logic/module 140 includes blending the occluded and/or noisyportion of the first EV− image with a corresponding portion of thesecond EV− image. In this way, portions of the first EV− image that mayresult in ghosting artifacts can be minimized by blending one or moreoccluded and/or noisy portions of the first EV− image with correspondingportion(s) of the second EV− image that are more similar tocorresponding portion(s) of the EV0 image.

For one embodiment, the adaptive bracketing logic/module 140 generatesthe composite EV− image by replacing one or more portions of the firstEV− image with corresponding portion(s) of the second EV− image. For oneembodiment, the generation of the composite EV− image by the adaptivebracketing logic/module 140 includes replacing the occluded and/or noisyportion of the first EV− image with a corresponding portion of thesecond EV− image. In this way, portions of the first EV− image that mayresult in ghosting artifacts can be minimized by replacing one or moreoccluded and/or noisy portions of the first EV− image with correspondingportion(s) of the second EV− image that are more similar tocorresponding portion(s) of the EV0 image. Replacing one or moreportions of the first EV− image with corresponding portion(s) of thesecond EV− image can assist with reducing the computational cost ofgenerating the composite image by the system 100 when one or morealgorithms that blend two images together are more resource-intensivethan one or more algorithms that replace one image with another image.For example, and for one embodiment, the generation of the composite EV−image by the adaptive bracketing logic/module 140 includes replacing thefirst EV− image with the second EV− image.

After the adaptive bracketing logic/module 140 generates the compositeEV− image, then the adaptive bracketing logic/module 140 can update theadaptive bracket. For one embodiment, the adaptive bracketinglogic/module 140 updates the adaptive bracket by replacing the first EV−image and the second first EV− image with the composite EV− image. Forexample, and for one embodiment, an updated adaptive bracket isrepresented as follows:[n ₁(Composite EV−),EV0,n ₂(EV+)],

-   -   where EV0 refers to an image that is captured using an ideal        exposure value (EV) given the lighting conditions at hand,    -   where n₁ and n₂ refer to numbers of stops below or above,        respectively, the EV0 image,    -   where n₁(Composite EV−) refers to an underexposed image that is        formed from the First EV− image and the Second EV− image,        described above in connection with FIG. 1, and    -   where n₂(EV+) refers to an overexposed image that is captured at        n₂ higher stops than the EV0 image.

The processing unit(s) 130 can also include an optional high dynamicrange (HDR) generation logic/module 150, which receives the updatedadaptive bracket as input. For one embodiment, the optional HDRgeneration logic/module 150 generates one or more HDR images using theupdated adaptive bracket. In this way, the adaptive bracketingtechniques performed by the adaptive bracketing logic/module 140 canassist with improving the functionality and operations of the system 100used to generate HDR images. Computer functionality can be improved byenabling the system 100 that uses an adaptive bracket to generate HDRimages to reduce or eliminate the need to apply de-ghosting algorithmsto the generated HDR images, which can assist with reducing oreliminating wasted computational resources of the system 100 (e.g.,storage space of memory 160, processing power of unit(s) 130,computational time associated with device 120, memory 160, and/orunit(s) 130, etc.) and/or improving the processing speed/power of thesystem 100. For one embodiment, the optional HDR generation logic/module150 is implemented as at least one of hardware (e.g., electroniccircuitry of the processing unit(s) 130), software (e.g., one or moreinstructions of a computer program executed by the processing unit(s)130), or a combination thereof. The optional HDR generation logic/module150 can be implemented in another system that differs from the system100 (e.g., the logic/module 150 is implemented in processing unit(s)that are not part of the system 100, etc.).

The system 100 can include memory 160 for storing and/or retrievingimage data 170 and/or metadata 180 associated with the image data 170.The image data 170 and/or the metadata 180 can be processed and/orcaptured by the other components of the system 100. Furthermore, otherdata (e.g., data captured by, processed by, and/or associated with atleast one of processing unit(s) 130, peripheral(s) 190, and/or theimaging device 120, etc.) can be stored to and/or retrieved from thememory 160. The system 100 can also include a memory controller (notshown), which includes at least one electronic circuit that manages dataflowing to and/or from the memory 160. The memory controller can be aseparate processing unit or integrated as part of processing unit(s)130. As explained above, one or more of the logic/modules 140 and 150may be implemented as software (e.g., one or more instructions of acomputer program executed by the processing unit(s) 130). For thisembodiment, such software may be stored in the memory 160.

The system 100 can include an imaging device 120 that includes at leastone of an imaging sensor, a lens assembly, or camera circuitry forcapturing images—e.g., an adaptive bracket. For one embodiment, theimaging device 120 can include any known imaging component that enablesimage capture operations. For one embodiment, when the imaging device120 includes a display device (e.g., a screen), the imaging device 120can include a front-facing imaging device and/or a rear-facing imagingdevice. For this embodiment, the front-facing imaging device observes ascene in the same direction that the display device faces, while therear-facing imaging device observes a scene in a direction that isdifferent from the direction faced by the display device. Imagesensor(s) of the device 120 can, for example, include a charge-coupleddevice (CCD) or complementary metal oxide semiconductor (CMOS) sensor.Imaging device 120 can also include an image signal processing (ISP)pipeline that is implemented as specialized hardware, software, or acombination of both. The ISP pipeline can perform one or more operationson raw images (also known as raw image files) received from imagesensor(s) of the device 120. The ISP pipeline can also provide theprocessed image data to the memory 160, the optional peripheral(s) 190,and/or the processing unit(s) 130.

The system 100 can also include peripheral(s) 190. For one embodiment,the peripheral(s) 190 can include at least one of the following: (i) oneor more input devices that interact with or send data to one or morecomponents of the system 100 (e.g., mouse, keyboards, etc.); (ii) one ormore output devices that provide output from one or more components ofthe system 100 (e.g., monitors, printers, display devices, etc.); or(iii) one or more storage devices that store data in addition to thememory 160. The peripheral(s) 190 may combine different devices into asingle hardware component that can be used both as an input and outputdevice (e.g., a touchscreen, etc.). The peripheral(s) 190 can also bereferred to as input/output (I/O) devices 190 throughout this document.The system 100 can also include at least one peripheral control circuit(not shown), which can be a controller (e.g., a chip, an expansion card,or a stand-alone device, etc.) that interfaces with and is used todirect operation(s) of the peripheral(s) 190. The peripheral(s)controller can be a separate processing unit or integrated as one of theprocessing unit(s) 130.

The system 100 can include sensor(s) 191. For one embodiment, thesensor(s) 191 may include at least one sensor whose purpose is to detecta characteristic of one or more environs. For one embodiment, thesensor(s) 191 can be used to detect one or more environs associated withcapturing and/or processing images—for example, one or more sensors fordetecting motion during capturing or processing of an image, one or moresensors for detecting lighting conditions, etc. Examples of such sensorsinclude, but are not limited to, an accelerometer, a proximity sensor, avibration sensor, a gyroscopic sensor, a voltage sensor, a currentsensor, a resistance sensor, a refraction sensor, a reflection sensor, arotation sensor, a velocity sensor, an inclinometer, and a momentumsensor.

For one embodiment, the system 100 includes a communication mechanism110. The communication mechanism 110 can be a bus, a network, or aswitch. When the communication mechanism 110 is a bus, the communicationmechanism 110 is a communication system that transfers data betweencomponents of system 100, or between components of system 100 and othercomponents of other systems (not shown). As a bus, the communicationmechanism 110 includes all related hardware components (wire, opticalfiber, etc.) and/or software, including communication protocols. For oneembodiment, the communication mechanism 110 can include at least one ofan internal bus or an external bus. Moreover, the communicationmechanism 110 can include at least one of a control bus, an address bus,or a data bus for communications associated with the system 100. For oneembodiment, the communication mechanism 110 can be a network or aswitch. As a network, the communication mechanism 110 may be any type ofnetwork such as a local area network (LAN), a wide area network (WAN)such as the Internet, a fiber network, a storage network, or acombination thereof, wired or wireless. When the communication mechanism110 is a network, the components of the system 100 do not have to bephysically located next to each other. When the mechanism 110 is aswitch (e.g., a “cross-bar” switch), separate components of system 100may be linked directly over a network even though these components maynot be physically located next to each other. For example, at least twoof the processing unit(s) 130, the communication mechanism 110, thememory 160, the peripheral(s) 190, the imaging device 120, or thesensor(s) 191 are in distinct physical locations from each other and arecommunicatively coupled via the communication mechanism 110, which is anetwork or a switch that directly links these components over a network.

For one embodiment, one or more components of the system 100 may beimplemented as one or more integrated circuits (ICs). For example, atleast one of the processing unit(s) 130, the communication mechanism110, the imaging device 120, the peripheral(s) 190, the sensor(s) 191,or the memory 160 can be implemented as a system-on-a-chip (SoC) IC, athree-dimensional (3D) IC, any other known IC, or any known combinationof ICs. For another embodiment, two or more of components of the system100 are implemented together as one or more ICs. For example, at leasttwo of the processing unit(s) 130, the communication mechanism 110, thememory 160, the peripheral(s) 190, the imaging device 120, or thesensor(s) 191 are implemented together as a single SoC IC.

Referring now to FIG. 2, which is a flowchart representing oneembodiment of a process 200 of performing an adaptive bracketingtechnique. Process 200 can be performed by an adaptive bracketinglogic/module (e.g., the adaptive bracketing logic/module 140 describedabove in connection with FIG. 1). Process 200 begins at block 201, wherean adaptive bracket is obtained or captured. For one embodiment, anadaptive bracketing logic/module performing process 200 directs animaging device (e.g., the imaging device 120 described above inconnection with FIG. 1, etc.) to obtain an initial set of images of anadaptive bracket. The initial set of images of the adaptive bracket caninclude at least a first image (e.g., the first EV− image describedabove in connection with FIG. 1, etc.) and a second image (e.g., the EV0image described above in connection with FIG. 1, etc.). In someinstances, a third image (e.g., the second EV− image described above inconnection with FIG. 1, etc.) may further be captured. For oneembodiment, the adaptive bracket is obtained or captured according to atleast one of the descriptions provided above in connection with FIG. 1.

Process 200 proceeds to block 203, where a difference is determinedbetween the first and second images of the initial set of images of theadaptive bracket. For one embodiment, a difference is determined to lookfor one or more occlusions that may result from situations such as: (i)motion exists in a portion of first image but fails to exist in acorresponding portion of the second image (and vice versa); and/or (ii)noise exists in a portion of first image but fails to exist in acorresponding portion of the second image (and vice versa). For oneembodiment, block 203 is performed according to one or more descriptionsprovided above in connection with FIG. 1. Next, process 200 proceeds toblock 204. Here, an adaptive bracketing logic/module performing process200 determines whether the determined difference is a thresholddifference—that is, whether the determined difference is equal to orexceeds a threshold level of difference. The threshold difference may bedetermined using any embodiment described above or combination thereof.For one embodiment, the determined difference is a threshold differencewhen: (i) a contiguous region of pixels in one of the first and secondimages includes a threshold number of clipped pixels; and (ii) acorresponding region of pixels in the other one of the first and secondimages does not include a corresponding threshold number of clippedpixels. When the determined difference is not a threshold difference,process 200 proceeds to optional block 213 or block 215 (which aredescribed below). On the other hand, when the determined difference is athreshold difference, process 200 proceeds to block 205, as describedbelow.

At block 205, a comparison of the first and third images is performed.For one embodiment, this comparison is performed to determine whether athird image (or a region thereof) is better suited for generating a HDRimage with the second image than the first image is—that is, whether thethird image is more similar to the second image than the first image isto the second image. If a third image has not already been captured,block 205 may include capturing the third image. For example, and forone embodiment, the comparison includes determining whether a portion ofthe third image that corresponds to an occluded and/or noisy portion ofthe first image has pixel values that are higher and/or more noise-freethan corresponding pixel values of the occluded and/or noisy portion inthe first image. Block 205 can be performed according to descriptionsprovided above in connection with FIG. 1.

Process 200 proceeds from block 205 to decision block 206 when the thirdimage is not better than the first image. For example, and for oneembodiment, process 200 proceeds to decision block 206 when a portion ofthe third image that corresponds to an occluded and/or noisy portion ofthe first image has pixel values that are lower and/or less noise-freethan corresponding pixel values of the occluded and/or noisy portion inthe first image. At block 206, a determination is made as to whether apredetermined number of third images have been captured. If apredetermined number of third images has not been captured, process 200proceeds to block 207 (which is described below). On the other hand,when a determination is made at block 206 that a predetermined number ofthird images have been captured, process 200 proceeds to optional block213 or block 215 (which are described below). Decision block 206 maylimit the number of additional images that may be captured in an effortto improve the quality of the adaptive bracket images. For oneembodiment, the predetermined number from block 206 may be any suitablenumber (e.g., one, two, three). For example, block 207 will only beperformed up to four times. If after the fourth time, the third image isstill not better than the first image, process 200 proceeds to optionalblock 213 or block 215.

Process 200 proceeds from block 206 to block 207 when the third image isnot better than the first image and when a predetermined number of thirdimage has not been captured. Here, a new third image is captured by thedevice, and the previously captured third image is replaced with the newthird image for the purposes of the process 200. In some instances,replacing the previously captured third image involves deleting thepreviously captured third image. The new third image is captured at thesame exposure value as the first image. Next, process 200 returns toblock 205 (which is described above) from block 207, and the newlycaptured image is compared to the first image.

Process 200 proceeds from block 205 to block 209 when the third image isbetter than the first image. For example, and for one embodiment,process 200 proceeds to block 209 when a portion of the third image thatcorresponds to the occluded and/or noisy portion of the first image haspixel values that are higher and/or more noise-free than correspondingpixel values of the occluded and/or noisy portion of the first image. Atblock 209, a composite image is generated using the first image and thethird image, which can be done using one or more of the techniquesdiscussed above. For one embodiment, the composite image is generated bycombining one or more portions of the first image with one or morecorresponding portions of the third image. Generating the compositeimage can include combining the occluded and/or noisy portion of thefirst image with a corresponding portion of the third image. For oneembodiment, combining the first image and the third image includes atleast one of: (i) blending one or more portions of the first image withcorresponding portion(s) of the third image; or (ii) replacing one ormore portions of the first image with corresponding portion(s) of thethird image. At block 211 of process 200, the adaptive bracket isupdated by adding the composite image to the adaptive bracket (which mayalso include replacing the first and third images with the compositeimage). For one embodiment, each of blocks 209 and 211 is performedaccording to one or more descriptions provided above in connection withFIG. 1. Next, process 200 proceeds to optional block 213, where theupdated adaptive bracket is used to generate one or more HDR images.When process 200 proceeds from block 206 directly to block optionalblock 213, the one or more HDR images are generated using a conventionalbracket (as opposed to an adaptive bracket). After optional block 213,process 200 ends at block 215. When optional block 213 is not part ofprocess 200, process 200 ends at block 215 after performance of blocks211, 206, or 204 (which are described above).

It should be appreciated that the process 200 (as well as the processesdescribed below) may be performed on a region-by-region basis. Forexample, determining a threshold difference between the first and secondimages in block 204 may include identifying threshold differences in aplurality of regions within the image. Then, in block 205, thedetermination of whether the third image is better suited than the firstimage to be combined with the second image may be done on aregion-by-region basis. If all regions of the third image are bettersuited, then the process may proceed to generate a composite image asdiscussed above with respect to block 209. If no regions of the thirdimage are better suited, the process may proceed to block 206 asdiscussed above. If, however, there are some regions of the third imagethat are better suited and some regions of the third image that are notbetter suited, the process may both proceed to capture a new image asdiscussed above (if a limit on images captured has not been met) andgenerate a composite image using one or more of the techniques describedabove. In these instances, the newly captured image replaces the thirdimage and the composite image replaces the first image for the purposeof block 205, such that the newly captured image is compared to thecomposite image in block 205. In this way, it may be possible for acomposite image to be formed based on three or more images having agiven exposure value, where different images can address occlusions fromdifferent regions.

FIG. 3 is a flowchart representing an embodiment of a process 300 ofperforming an adaptive bracketing technique. Process 300 can beperformed by an adaptive bracketing logic/module (e.g., the logic/module140 described above in connection with FIG. 1). Process 300 begins atblock 301, where an adaptive bracket is obtained or captured. For oneembodiment, an adaptive bracketing logic/module performing process 300directs an imaging device (e.g., the imaging device 120 described abovein connection with FIG. 1, etc.) to obtain or capture the adaptivebracket. The adaptive bracket can include: (i) a first image (e.g., thefirst EV− image described above in connection with FIG. 1, etc.); and(ii) a second image (e.g., the EV0 image described above in connectionwith FIG. 1, etc.). For one embodiment, the first and second images areobtained according to one or more descriptions provided above inconnection with FIG. 1.

Process 300 proceeds to block 303, which is similar to or the same asblock 203 of process 200 described above in connection with FIG. 2.Block 303 will not described again for the sake of brevity. Next,process 300 proceeds to block 317, where a third image that has the sameEV as the first image is obtained and included in the adaptive bracket.For one embodiment, block 317 is performed in response to theperformance of block 303. In this way, at least one embodiment of anadaptive bracket can be dynamically obtained (or obtained on-the-fly) inorder to conserve computation resources. The third image is, forexample, the second EV− image described above in connection with FIG. 1.For example, the third image is captured in response to a determinationthat the first image and the second image are different from each other,as described above in connection with FIG. 1. After block 317, process300 proceeds to block 304, block 305, block 306, block 307, block 309,block 311, optional block 313, and block 315. Block 204, block 205,block 206, block 207, block 209, block 211, optional block 213, andblock 215 of process 200 are similar to or the same as block 304, block305, block 306, block 307, block 309, block 311, optional block 313, andblock 315 of process 300, respectively. Block 204, block 205, block 206,block 207, block 209, block 211, optional block 213, and block 215 aredescribed above in connection with FIG. 2. For the sake of brevity,these blocks are not described.

FIG. 4 is a flowchart representing one embodiment of a process 400 ofdetermining that there is a difference between corresponding portions ofa first image and a second image during performance of an adaptivebracketing technique. Process 400 provides additional details about theblocks 203-204 of process 200 and blocks 303-304 of process 300, whichare described above in connection with FIGS. 2 and 3, respectively.Process 400 can be performed by an adaptive bracketing logic/module(e.g., the logic/module 140 described above in connection with FIG. 1).Process 400 begins at block 401, where a determination is made that thesecond image (e.g., the EV0 image described above in connection withFIG. 1) has a threshold number of clipped pixels. For one embodiment,the threshold number of clipped pixels in the second image triggerscomparing corresponding portions of the first and second images. For oneembodiment, block 401 is performed according to one or more descriptionsprovided above in connection with at least one of FIG. 1, 2, or 3. Forone embodiment, a threshold number of clipped pixels is determined inorder to avoid performing process 400 on a few spurious highlights justto rectify a minimal amount of clipped pixels. As such, at least oneembodiment of block 401 comprises determining that the threshold numberof clipped pixels includes a contiguous region of clipped pixels—notjust isolated pixels in the image. For example, block 401 includesdetermining that a threshold of clipped pixels exist in a contiguousregion of the EV0 image. This contiguous region could span the entireEV0 image in some scenarios.

Process 400 proceeds to block 403, where the second image is compared,on a pixel-by-pixel basis, with the first image (e.g., the first EV−image described above in connection with FIG. 1, etc.). For oneembodiment, the comparison performed in block 403 is applicable toclipped pixels of the second image. Thus, for this embodiment, theclipped pixels of the second image are compared, on a pixel-by-pixelbasis, with corresponding pixels of the first image. For one embodiment,block 403 is performed according to one or more descriptions providedabove in connection with at least one of FIG. 1, 2, or 3.

At decision block 405, a determination is made about whether adifference between pixel values of the clipped pixels of the secondimage and corresponding pixel values of the corresponding pixels of thefirst image is greater than or equal to a threshold difference. For oneembodiment, the threshold difference is based, at least in part, on anexposure ratio between the EV0 image and the first EV− image (asdescribed above in connection with FIG. 1). For one embodiment, block405 is performed based on a difference between overall pixel values ofcorresponding pixel neighborhoods in the first and second imagesexceeding a threshold difference. For one embodiment, block 405 isperformed according to one or more descriptions provided above inconnection with at least one of FIG. 1, 2, or 3. With regard to block409, when at least one set of corresponding pixels of the first andsecond images has a difference in pixel values that is greater than orequal to a threshold difference, then a determination is made thatcorresponding portions of the first and second images are different.Consequently, block 409 can lead to additional processing operationsassociated with an adaptive bracket, as described in connection with atleast FIG. 1, 2, or 3. At block 407, when at least one set ofcorresponding pixels of the first and second images has a difference inpixel values that is not greater than or equal to a thresholddifference, then a determination is made that the first and secondimages can be used for generating an HDR image. Consequently, block 407can lead to the first and second images being used in conjunction withother images (e.g., an EV+ image, etc.) to form a conventional bracketthat is subsequently used to generate an HDR image. For one embodiment,each of blocks 407 and 409 is performed according to one or moredescriptions provided above in connection with at least one of FIG. 1,2, or 3.

FIG. 5 is a flowchart representing another embodiment of a process 500of determining that there is a difference between corresponding portionsof a first image and a second image during performance of an adaptivebracketing technique. Process 500 provides additional details about theblocks 203-204 of process 200 and blocks 303-304 of process 300, whichare described above in connection with FIGS. 2 and 3, respectively.

Process 500 can be performed by an adaptive bracketing logic/module(e.g., the logic/module 140 described above in connection with FIG. 1).Process 500 begins at block 501, where the first image (e.g., the firstEV− image described above in connection with FIG. 1) is designated as atarget image and the second image (e.g., the EV0− image described abovein connection with FIG. 1) is designated as a reference image. For oneembodiment, block 501 is performed according to descriptions providedabove in connection with FIGS. 1, 2, and/or 3.

At block 503 of process 500, one or more image registration algorithmsare used to determine a degree of similarity between the second image(i.e., the reference image) and the first image (i.e., the targetimage). One example includes use of a geometrical transformation toestablish a point-by-point correspondence between the first and secondimages, as described above in connection with at least FIG. 1. For oneembodiment, block 503 is performed according to one or more descriptionsprovided above in connection with at least one of FIG. 1, 2, or 3. Next,block 505 requires a determination that a degree of similarity betweenthe first and second images is less than or equal to a threshold degreeof similarity. This can be based, at least in part, on contiguousregions in the first and second images as described above in connectionwith at least FIG. 1. For one embodiment, block 505 is performedaccording to descriptions provided above in connection with at least oneof FIG. 1, 2, or 3.

For one embodiment of block 509, when a degree of similarity between thefirst and second images is less than or equal to a threshold degree ofsimilarity, then a determination is made that there is a differencebetween corresponding portions of the first image and the second image.Consequently, block 509 can lead to additional processing operationsassociated with an adaptive bracket, as described in connection with atleast FIG. 1, 2, or 3. At block 507, when a degree of similarity betweenthe first and second images is not less than or equal to a thresholddegree of similarity, then a determination is made that the first andsecond images can be used for generating an HDR image. Consequently,block 507 can lead to the first and second images being used inconjunction with other images (e.g., an EV+ image, etc.) to form aconventional bracket that is subsequently used to generate an HDR image.For one embodiment, blocks 507 and 509 are performed according todescriptions provided above in connection with FIGS. 1, 2, and/or 3.

FIG. 6 is a block diagram illustrating an example of a data processingsystem 600 that may be used with one embodiment. For example, the system600 may represent any of the data processing systems described aboveperforming any of the processes or methods described above in connectionwith at least one of FIG. 1, 2, 3, 4, or 5.

System 600 can include many different components. These components canbe implemented as integrated circuits (ICs), portions thereof, discreteelectronic devices, or other modules adapted to a circuit board such asa motherboard or add-in card of the computer system, or as componentsotherwise incorporated within a chassis of the computer system. Notealso that system 600 is intended to show a high-level view of manycomponents of the computer system. Nevertheless, it is to be understoodthat additional components may be present in certain implementations andfurthermore, different arrangement of the components shown may occur inother implementations. System 600 may represent a desktop, a laptop, atablet, a server, a mobile phone, a media player, a personal digitalassistant (PDA), a personal communicator, a gaming device, a networkrouter or hub, a wireless access point (AP) or repeater, a set-top box,or a combination thereof. Further, while only a single machine or systemis illustrated, the term “machine” or “system” shall also be taken toinclude any collection of machines or systems that individually orjointly execute at least one set of instructions to perform any of themethodologies discussed herein.

For one embodiment, system 600 includes processor(s) 601, memory 603,and devices 605-608 via a bus or an interconnect 610. Processor(s) 601may represent a single processor or multiple processors with a singleprocessor core or multiple processor cores included therein.Processor(s) 601 may represent one or more general-purpose processorssuch as a microprocessor, a central processing unit (CPU), or the like.More particularly, processor(s) 601 may be a complex instruction setcomputing (CISC) microprocessor, reduced instruction set computing(RISC) microprocessor, very long instruction word (VLIW) microprocessor,or processor implementing other instruction sets, or processorsimplementing a combination of instruction sets. Processor(s) 601 mayalso be one or more special-purpose processors such as an applicationspecific integrated circuit (ASIC), an Application-specific instructionset processor (ASIP), a cellular or baseband processor, a fieldprogrammable gate array (FPGA), a digital signal processor (DSP), aphysics processing unit (PPU), an image processor, an audio processor, anetwork processor, a graphics processor, a graphics processing unit(GPU), a network processor, a communications processor, a cryptographicprocessor, a co-processor, an embedded processor, a floating-point unit(FPU), or any other type of logic capable of processing instructions.

Processor(s) 601, which may be a low power multi-core processor socketsuch as an ultra-low voltage processor, may act as a main processingunit and central hub for communication with the various components ofthe system. Such processor can be implemented as a system-on-chip (SoC)IC. At least one of adaptive bracketing logic/module 628A or optionalHDR generation module 629A may reside, completely or at least partially,within processor(s) 601. Furthermore, the processor(s) 601 is configuredto execute instructions for performing the operations and methodologiesdiscussed herein—for example, any of the processes or methods describedabove in connection with at least one of FIG. 1, 2, 3, 4, or 5. System600 may further include a graphics interface that communicates withoptional graphics subsystem 604, which may include a display controller,a graphics processing unit (GPU), and/or a display device. For oneembodiment, the processor(s) 601 includes at least one of adaptivebracketing logic/module 628A or optional HDR generation module 629A,which enables processor(s) 601 to perform any, all, or some of theprocesses or methods described above in connection with at least one ofFIG. 1, 2, 3, 4, or 5.

Processor(s) 601 may communicate with memory 603, which in oneembodiment can be implemented via multiple memory devices to provide fora given amount of system memory. Memory 603 may include one or morevolatile storage (or memory) devices such as random access memory (RAM),dynamic RAM (DRAM), synchronous DRAM (SDRAM), static RAM (SRAM), orother types of storage devices. Memory 603 may store informationincluding sequences of instructions that are executed by processor(s)601 or any other device. For example, executable code and/or data of avariety of operating systems, device drivers, firmware (e.g., inputoutput basic system or BIOS), and/or applications can be loaded inmemory 603 and executed by processor(s) 601. An operating system can beany kind of operating system. Performance control logic/module 628D mayalso reside, completely or at least partially, within memory 603. Forone embodiment, the memory 603 includes at least one of adaptivebracketing logic/module 628B or optional HDR generation module 629B,which are instructions. When the instructions represented by at leastone of adaptive bracketing logic/module 628B or optional HDR generationmodule 629B are executed by the processor(s) 601, the instructions 628Band/or instructions 629B cause the processor(s) 601 to perform any, all,or some of the processes or methods described above in connection withat least one of FIG. 1, 2, 3, 4, or 5.

System 600 may further include I/O devices such as devices 605-608,including network interface device(s) 605, optional input device(s) 606,and other optional I/O device(s) 607. Network interface device 605 mayinclude a wireless transceiver and/or a network interface card (NIC).The wireless transceiver may be a WiFi transceiver, an infraredtransceiver, a Bluetooth transceiver, a WiMax transceiver, a wirelesscellular telephony transceiver, a satellite transceiver (e.g., a globalpositioning system (GPS) transceiver), or other radio frequency (RF)transceivers, or a combination thereof. The NIC may be an Ethernet card.

Input device(s) 606 may include a mouse, a touch pad, a touch sensitivescreen (which may be integrated with display device 604), a pointerdevice such as a stylus, and/or a keyboard (e.g., physical keyboard or avirtual keyboard displayed as part of a touch sensitive screen). Forexample, input device 606 may include a touch screen controller coupledto a touch screen. The touch screen and touch screen controller can, forexample, detect contact and movement or a break thereof using any of aplurality of touch sensitivity technologies, including but not limitedto capacitive, resistive, infrared, and surface acoustic wavetechnologies, as well as other proximity sensor arrays or other elementsfor determining one or more points of contact with the touch screen.

I/O devices 607 may include an audio device. An audio device may includea speaker and/or a microphone to facilitate voice-enabled functions,such as voice recognition, voice replication, digital recording, and/ortelephony functions. Other I/O devices 607 may further include universalserial bus (USB) port(s), parallel port(s), serial port(s), a printer, anetwork interface, a bus bridge (e.g., a PCI-PCI bridge), sensor(s)(e.g., a motion sensor such as an accelerometer, gyroscope, amagnetometer, a light sensor, compass, a proximity sensor, etc.), or acombination thereof. Devices 607 may further include an imagingprocessing subsystem (e.g., a camera), which may include an opticalsensor, such as a charged coupled device (CCD) or a complementarymetal-oxide semiconductor (CMOS) optical sensor, utilized to facilitatecamera functions, such as recording photographs and video clips. Certainsensors may be coupled to interconnect 610 via a sensor hub (not shown),while other devices such as a keyboard or thermal sensor may becontrolled by an embedded controller (not shown), dependent upon thespecific configuration or design of system 600.

To provide for persistent storage of information such as data,applications, one or more operating systems and so forth, a mass storage(not shown) may also couple to processor(s) 601. For variousembodiments, to enable a thinner and lighter system design as well as toimprove system responsiveness, this mass storage may be implemented viaa solid state device (SSD). However in other embodiments, the massstorage may primarily be implemented using a hard disk drive (HDD) witha smaller amount of SSD storage to act as a SSD cache to enablenon-volatile storage of context state and other such information duringpower down events so that a fast power up can occur on re-initiation ofsystem activities. In addition, a flash device may be coupled toprocessor(s) 601, e.g., via a serial optional peripheral interface(SPI). This flash device may provide for non-volatile storage of systemsoftware, including a basic input/output software (BIOS) and otherfirmware.

Furthermore, at least one of adaptive bracketing logic/module 628C oroptional HDR generation module 629C may be a specialized stand-alonecomputing device that is formed from hardware, software, or acombination thereof. For one embodiment, at least one of adaptivebracketing logic/module 628C or optional HDR generation module 629Cperforms any, all, or some of the processes or methods described abovein connection with at least one of FIG. 1, 2, 3, 4, or 5.

Storage device 608 may include computer-accessible storage medium 609(also known as a machine-readable storage medium or a computer-readablemedium) on which is stored one or more sets of instructions or software(e.g., at least one of adaptive bracketing logic/module 628D or optionalHDR generation module 629D) embodying one or more of the methodologiesor functions described above in connection with FIG. 1, 2, 3, 4, or 5.For one embodiment, the storage device 608 includes at least one ofadaptive bracketing logic/module 628D or optional HDR generation module629D, which are instructions. When the instructions represented by atleast one of adaptive bracketing logic/module 628D or optional HDRgeneration module 629D are executed by the processor(s) 601, theinstructions 628D and/or the instructions 629D cause the processor(s)601 to perform any, all, or some of the processes or methods describedabove in connection with at least one of FIG. 1, 2, 3, 4, or 5. One ormore of logic/modules 628A, 628B, 628C, 628D, 629A, 629B, 629C, or 629Dmay be transmitted or received over a network via network interfacedevice 1305.

Computer-readable storage medium 609 can store some or all of thesoftware functionalities of at least one of adaptive bracketinglogic/module 628D or optional HDR generation module 629D described abovepersistently. While computer-readable storage medium 609 is shown in anexemplary embodiment to be a single medium, the term “computer-readablestorage medium” should be taken to include a single medium or multiplemedia (e.g., a centralized or distributed database, and/or associatedcaches and servers) that store the one or more sets of instructions. Theterms “computer-readable storage medium” shall also be taken to includeany medium that is capable of storing or encoding a set of instructionsfor execution by the machine and that cause the machine to perform anyone or more of the methodologies of the present invention. The term“computer-readable storage medium” shall accordingly be taken toinclude, but not be limited to, solid-state memories, and optical andmagnetic media, or any other non-transitory machine-readable medium.

Note that while system 600 is illustrated with various components of adata processing system, it is not intended to represent any particulararchitecture or manner of interconnecting the components; as such,details are not germane to the embodiments described herein. It willalso be appreciated that network computers, handheld computers, mobilephones, servers, and/or other data processing systems, which have fewercomponents or perhaps more components, may also be used with theembodiments described herein.

Description of at least one of the embodiments set forth herein is madewith reference to figures. However, certain embodiments may be practicedwithout one or more of these specific details, or in combination withother known methods and configurations. In the following description,numerous specific details are set forth, such as specificconfigurations, dimensions and processes, etc., in order to provide athorough understanding of the embodiments. In other instances,well-known processes and manufacturing techniques have not beendescribed in particular detail in order to not unnecessarily obscure theembodiments. Reference throughout this specification to “oneembodiment,” “an embodiment,” “another embodiment,” “other embodiments,”“some embodiments,” and their variations means that a particularfeature, structure, configuration, or characteristic described inconnection with the embodiment is included in at least one embodiment.Thus, the appearances of the phrase “for one embodiment,” “for anembodiment,” “for another embodiment,” “in other embodiments,” “in someembodiments,” or their variations in various places throughout thisspecification are not necessarily referring to the same embodiment.Furthermore, the particular features, structures, configurations, orcharacteristics may be combined in any suitable manner in one or moreembodiments.

In the following description and claims, the terms “coupled” and“connected,” along with their derivatives, may be used. It should beunderstood that these terms are not intended as synonyms for each other.“Coupled” is used to indicate that two or more elements or components,which may or may not be in direct physical or electrical contact witheach other, co-operate or interact with each other. “Connected” is usedto indicate the establishment of communication between two or moreelements or components that are coupled with each other.

Some portions of the preceding detailed descriptions have been presentedin terms of algorithms and symbolic representations of operations ondata bits within a computer memory. These algorithmic descriptions andrepresentations are the ways used by those skilled in the dataprocessing arts to most effectively convey the substance of their workto others skilled in the art. An algorithm is here, and generally,conceived to be a self-consistent sequence of operations leading to adesired result. The operations are those requiring physicalmanipulations of physical quantities.

It should be borne in mind, however, that all of these and similar termsare to be associated with the appropriate physical quantities and aremerely convenient labels applied to these quantities. Unlessspecifically stated otherwise as apparent from the above discussion, itis appreciated that throughout the description, discussions utilizingterms such as those set forth in the claims below, refer to the actionand processes of a computer system, or similar electronic computingdevice, that manipulates and transforms data represented as physical(electronic) quantities within the computer system's registers andmemories into other data similarly represented as physical quantitieswithin the computer system memories or registers or other suchinformation storage, transmission or display devices.

Embodiments described herein also relate to an apparatus for performingthe operations herein. Such a computer program is stored in anon-transitory computer readable medium. A machine-readable mediumincludes any mechanism for storing information in a form readable by amachine (e.g., a computer). For example, a machine-readable (e.g.,computer-readable) medium includes a machine (e.g., a computer) readablestorage medium (e.g., read only memory (“ROM”), random access memory(“RAM”), magnetic disk storage media, optical storage media, flashmemory devices).

Although the processes or methods are described above in terms of somesequential operations, it should be appreciated that some of theoperations described may be performed in a different order. Moreover,some operations may be performed in parallel rather than sequentially.Embodiments described herein are not described with reference to anyparticular programming language. It will be appreciated that a varietyof programming languages may be used to implement the teachings ofembodiments of the invention as described herein. In utilizing thevarious aspects of the embodiments described herein, it would becomeapparent to one skilled in the art that combinations, modifications, orvariations of the above embodiments are possible for managing componentsof processing system to increase the power and performance of at leastone of those components. Thus, it will be evident that variousmodifications may be made thereto without departing from the broaderspirit and scope of at least one of the inventive concepts set forth inthe following claims. The specification and drawings are, accordingly,to be regarded in an illustrative sense rather than a restrictive sense.

In the development of any actual implementation of one or more of theinventive concepts set forth in the embodiments described herein (e.g.,as a software and/or hardware development project, etc.), numerousdecisions must be made to achieve the developers' specific goals (e.g.,compliance with system-related constraints and/or business-relatedconstraints). These goals may vary from one implementation to another,and this variation could affect the actual implementation of one or moreof the inventive concepts set forth in the embodiments described herein.Furthermore, such development efforts might be complex andtime-consuming, but would nevertheless be a routine undertaking for aperson having ordinary skill in the art in the design and/orimplementation of one or more of the inventive concepts set forth in theembodiments described herein.

As used herein, the phrase “at least one of A, B, or C” includes Aalone, B alone, C alone, a combination of A and B, a combination of Band C, a combination of A and C, and a combination of A, B, and C. Inother words, the phrase “at least one of A, B, or C” means A, B, C, orany combination thereof such that one or more of a group of elementsconsisting of A, B and C, and should not be interpreted as requiring atleast one of each of the listed elements A, B and C, regardless ofwhether A, B and C are related as categories or otherwise. Furthermore,the use of the article “a” or “the” in introducing an element should notbe interpreted as being exclusive of a plurality of elements. Also, therecitation of “A, B and/or C” is equal to “at least one of A, B or C.”

What is claimed is:
 1. A computer-implemented method for adaptivebracketing, comprising: capturing, as part of an adaptive bracket, afirst image at a first exposure value, a second image at a secondexposure value, and a third image at the first exposure value, whereinthe first exposure value is an underexposed exposure value in comparisonto the second exposure value; determining a difference between the firstimage and the second image; determining that the third image is moresimilar to the second image than the first image; and generating acomposite image using the first image and the third image in response tothe determination that the third image is more similar to the secondimage than the first image.
 2. The method of claim 1, furthercomprising: updating the adaptive bracket by replacing the first andthird images with the composite image; and generating one or more highdynamic range (HDR) images using the updated adaptive bracket.
 3. Themethod of claim 1, wherein the third image is captured after the firstand second images have been captured.
 4. The method of claim 3, whereinthe third image is captured in response to the determination of thedifference between the first image and the second image.
 5. The methodof claim 1, wherein determining the difference between the first imageand the second image is based, at least in part, on a pixel-by-pixelcomparison of clipped pixels of the second image with correspondingpixels of the first image.
 6. The method of claim 1, wherein determiningthe difference between the first image and the second image is based, atleast in part, on one or more image registration algorithms.
 7. Themethod of claim 1, wherein generating the composite image using thefirst image and the third image includes: combining a portion of thefirst image with a corresponding portion of the third image, wherein theportion of the first image and the corresponding portion of the thirdimage are selected based, at least in part, on the corresponding portionof the third image being more similar to a corresponding portion of thesecond image than the portion of the first image.
 8. A non-transitorycomputer readable medium comprising instructions, which when executed byone or more processors, cause the one or more processors to: capture, aspart of an adaptive bracket, a first image at a first exposure value, asecond image at a second exposure value, and a third image at the firstexposure value, wherein the first exposure value is an underexposedexposure value in comparison to the second exposure value; determine adifference between the first image and the second image; determine thatthe third image is more similar to the second image than the firstimage; and generate a composite image using the first image and thethird image in response to the determination that the third image ismore similar to the second image than the first image.
 9. Thenon-transitory computer readable medium of claim 8, wherein theinstructions further comprise additional instructions, which whenexecuted by the one or more processors, cause the one or more processorsto: update the adaptive bracket by replacing the first and third imageswith the composite image; and generate one or more high dynamic range(HDR) images using the updated adaptive bracket.
 10. The non-transitorycomputer readable medium of claim 8, wherein the instructions that causethe one or more processors to capture the third image includeinstructions that cause the one or more processors to capture the thirdimage after the first and second images have been captured.
 11. Thenon-transitory computer readable medium of claim 10, wherein theinstructions that cause the one or more processors to capture the thirdimage after the first and second images have been captured includeinstructions that cause the one or more processors to capture the thirdimage in response to the determination of the difference between thefirst image and the second image.
 12. The non-transitory computerreadable medium of claim 8, wherein the instructions for causing the oneor more processors to determine a difference between the first image andthe second image include one or more instructions for causing the one ormore processors to: determine the difference between the first image andthe second image based on a pixel-by-pixel comparison of clipped pixelsof the second image with corresponding pixels of the first image. 13.The non-transitory computer readable medium of claim 8, wherein theinstructions for causing the one or more processors to determine adifference between the first image and the second image include one ormore instructions for causing the one or more processors to: determinethe difference between the first image and the second image based on oneor more image registration algorithms.
 14. The non-transitory computerreadable medium of claim 8, wherein the instructions for causing the oneor more processors to generate the composite image using the first imageand the third image includes one or more instructions for causing theone or more processors to: combine a portion of the first image with acorresponding portion of the third image, wherein the portion of thefirst image and the corresponding portion of the third image areselected based, at least in part, on the corresponding portion of thethird image being more similar to a corresponding portion of the secondimage than the portion of the first image.
 15. A processing system,comprising: an imaging device comprising one or more image sensors; andlogic coupled to the imaging device, the logic being configured to:cause the imaging device to capture, as part of an adaptive bracket, afirst image at a first exposure value, a second image at a secondexposure value, and a third image at the first exposure value, whereinthe first exposure value is an underexposed exposure value in comparisonto the second exposure value; determine a difference between the firstimage and the second image; determine that the third image is moresimilar to the second image than the first image; and generate acomposite image using the first image and the third image in response tothe determination that the third image is more similar to the secondimage than the first image.
 16. The system of claim 15, wherein thelogic is further configured to: update the adaptive bracket by replacingthe first and third images with the composite image; and generate one ormore high dynamic range (HDR) images using the updated adaptive bracket.17. The system of claim 15, wherein the logic being configured tocapture the third image includes the logic being configured to capturethe third image after the first and second images have been captured.18. The system of claim 15, wherein the logic being configured tocapture the third image after the first and second images have beencaptured includes the logic being configured to capture the third imagein response to the determination of the difference between the firstimage and the second image.
 19. The system of claim 15, wherein thelogic being configured to determine a difference between the first imageand the second image includes the logic being configured to: determinethe difference between the first image and the second image based on apixel-by-pixel comparison of clipped pixels of the second image withcorresponding pixels of the first image.
 20. The system of claim 15,wherein the logic being configured to determine a difference between thefirst image and the second image includes the logic being configured to:determine the difference between the first image and the second imagebased on one or more image registration algorithms.
 21. The system ofclaim 15, wherein the logic being configured to generate the compositeimage using the first image and the third image includes the logic beingconfigured to: combine a portion of the first image with a correspondingportion of the third image, wherein the portion of the first image andthe corresponding portion of the third image are selected based, atleast in part, on the corresponding portion of the third image beingmore similar to a corresponding portion of the second image than theportion of the first image.